package com.dd.service;

import com.dd.dao.AdminMapper;
import com.dd.pojo.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService{
    @Autowired
     AdminMapper adminMapper;
    public Admin findAdmin(String aname, int pwd) {
        return adminMapper.findAdmin(aname,pwd);
    }
}
